package com.example.controller.utils;

/**
 * @author 苦行修士
 */

//后添加，该类还需修改
public class Code {

    /**
     * 业务操作结果反馈
     */
    public static final Integer SAVE_OK = 20011;
    public static final Integer DELETE_OK = 20021;
    public static final Integer UPDATE_OK = 20031;
    public static final Integer GET_OK = 20041;

    public static final Integer SAVE_ERR = 20010;
    public static final Integer DELETE_ERR = 20020;
    public static final Integer UPDATE_ERR = 20030;
    public static final Integer GET_ERR = 20040;

    /**
     * 异常类型标识
     */
    public static final Integer SYSTEM_ERR = 50001;
    public static final Integer BUSINESS_ERR = 50002;
    public static final Integer SYSTEM_UNKNOW_ERR = 59999;
}
